<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>008-svg-直线.html</title>
	<style>
		{
			margin: 0;
			padding: 0;
		}
		svg{
			background-color: gray;
		}
	</style>
</head>
<body>
	<svg width="600" height="400">
		<line x1="100" y1="100" x2="300" y2="200" style="stroke:rgb(255,99,99);stroke-width:1"/k>
	</svg>
</body>
</html>